/*
 * 文件名： ClientToServerRespData.java
 * 
 * 创建日期： 2016年12月3日
 *
 * Copyright(C) 2016, by <a href="mailto:liws@xingyuanauto.com">liws</a>.
 *
 * 原始作者: liws
 *
 */
package com.moli.iov.protocol.model;

import java.io.Serializable;

/**
 * 服务端接收消息后返回给终端的消息 传递实体
 *
 * @author <a href="mailto:liws@xingyuanauto.com">liws</a>
 *
 * @version $Revision$
 *
 * @since 2016年12月3日
 */
public class ServerRespData implements Serializable {

	/** 
	*/
	private static final long serialVersionUID = 1L;
	/**
	 * uid
	 */
	private String uid;
	
	/**
	 * 传递的byte数组
	 */
	private byte[] dataBytes;
	
	public ServerRespData(){
		
	}

	public ServerRespData(String uid,byte[] bytes) {
		this.uid = uid;
		this.dataBytes = bytes;
	}
	

	public byte[] getDataBytes() {
		return dataBytes;
	}

	public void setDataBytes(byte[] dataBytes) {
		this.dataBytes = dataBytes;
	}

	/**
	*
	* @return the uid
	*/
	
	public String getUid() {
		return uid;
	}

	/**
	*
	* @param uid the uid to set
	*/
	public void setUid(String uid) {
		this.uid = uid;
	}
}
